package com.pojo;

import com.auto.annotation.AutoCode;
import com.auto.annotation.Column;
import com.auto.annotation.MyFunction;
import com.auto.annotation.Table;

import java.io.Serializable;

/**
 * 角色信息
 */
@Table(name = "PM_ROLE")
@MyFunction(autoInitFromAccess=true,copyLastYearData=false,treeSort=false)
@AutoCode(isOverride = false, showWay = "list")
public class RoleInfo implements Serializable {

    private static final long serialVersionUID = -2970562131519770361L;
    /**
     * 主键
     */
    @Column(flag = "primary" , treeId = true, autoGenneral = true)
    private String pkid;
    /**
     * 角色编号【仅显示】
     */
    @Column(oth = "NOT NULL",treecolumn = true, jsname = "角色编号", jswidth = 150, jsAllowBlank = false, jsValidator = true, keyWordFilte = true)
    private String roleid;
    /**
     * 角色描述
     */
    @Column(oth = "NOT NULL",jsname = "角色名称", jsAllowBlank = false, jswidth = 150, keyWordFilte = true)
    private String roledesc;

    //======================GETTERS && SETTERS=================//

    public String getPkid() {
        return pkid;
    }

    public void setPkid(String pkid) {
        this.pkid = pkid;
    }

    public String getRoleid() {
        return roleid;
    }

    public void setRoleid(String roleid) {
        this.roleid = roleid;
    }

    public String getRoledesc() {
        return roledesc;
    }

    public void setRoledesc(String roledesc) {
        this.roledesc = roledesc;
    }
}
